package cn.exercises.oop17;

public class Outer2 {
    private int a = 10;

    class Inner {
        private int a = 20;

        public void show() {
            int a = 30;
            //Outer.this 获取了外部类对象的地址值
            System.out.println(Outer2.this.a);//10
            System.out.println(this.a); //20
            System.out.println(a); //30
        }
    }
}
